home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 4 / Macwelt DVD 4.cdr / Internet / Internet-Utilities / Mac-OS X / darkstat-2.2 / m4 / lib-prefix.m4 < prev    next >
MacBinary  |  2002-09-23  |  5.5 KB  |  [□□□□/□□□□]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Sep 23 03:32:08 2002, modified Mon Sep 23 03:32:08 2002, 5101 bytes "lib-prefix.m4" , at 0x146d 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[□□□□]
macFileCreator[□□□□]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 6c 69 62 2d 70 72 | 65 66 69 78 2e 6d 34 00 |..lib-pr|efix.m4.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 13 ed 00 | 00 01 1e b9 b4 73 f8 b9 |........|.....s..|
|00000060| b4 73 f8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.s......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ef 2f 00 00 |........|...../..|
|00000080| 23 20 6c 69 62 2d 70 72 | 65 66 69 78 2e 6d 34 20 |# lib-pr|efix.m4 |
|00000090| 73 65 72 69 61 6c 20 31 | 20 28 67 65 74 74 65 78 |serial 1| (gettex|
|000000a0| 74 2d 30 2e 31 31 29 0a | 64 6e 6c 20 43 6f 70 79 |t-0.11).|dnl Copy|
|000000b0| 72 69 67 68 74 20 28 43 | 29 20 32 30 30 31 2d 32 |right (C|) 2001-2|
|000000c0| 30 30 32 20 46 72 65 65 | 20 53 6f 66 74 77 61 72 |002 Free| Softwar|
|000000d0| 65 20 46 6f 75 6e 64 61 | 74 69 6f 6e 2c 20 49 6e |e Founda|tion, In|
|000000e0| 63 2e 0a 64 6e 6c 20 54 | 68 69 73 20 66 69 6c 65 |c..dnl T|his file|
|000000f0| 20 69 73 20 66 72 65 65 | 20 73 6f 66 74 77 61 72 | is free| softwar|
|00000100| 65 2c 20 64 69 73 74 72 | 69 62 75 74 65 64 20 75 |e, distr|ibuted u|
|00000110| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00000120| 66 20 74 68 65 20 47 4e | 55 0a 64 6e 6c 20 47 65 |f the GN|U.dnl Ge|
|00000130| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00000140| 65 6e 73 65 2e 20 20 41 | 73 20 61 20 73 70 65 63 |ense. A|s a spec|
|00000150| 69 61 6c 20 65 78 63 65 | 70 74 69 6f 6e 20 74 6f |ial exce|ption to|
|00000160| 20 74 68 65 20 47 4e 55 | 20 47 65 6e 65 72 61 6c | the GNU| General|
|00000170| 0a 64 6e 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |.dnl Pub|lic Lice|
|00000180| 6e 73 65 2c 20 74 68 69 | 73 20 66 69 6c 65 20 6d |nse, thi|s file m|
|00000190| 61 79 20 62 65 20 64 69 | 73 74 72 69 62 75 74 65 |ay be di|stribute|
|000001a0| 64 20 61 73 20 70 61 72 | 74 20 6f 66 20 61 20 70 |d as par|t of a p|
|000001b0| 72 6f 67 72 61 6d 0a 64 | 6e 6c 20 74 68 61 74 20 |rogram.d|nl that |
|000001c0| 63 6f 6e 74 61 69 6e 73 | 20 61 20 63 6f 6e 66 69 |contains| a confi|
|000001d0| 67 75 72 61 74 69 6f 6e | 20 73 63 72 69 70 74 20 |guration| script |
|000001e0| 67 65 6e 65 72 61 74 65 | 64 20 62 79 20 41 75 74 |generate|d by Aut|
|000001f0| 6f 63 6f 6e 66 2c 20 75 | 6e 64 65 72 0a 64 6e 6c |oconf, u|nder.dnl|
|00000200| 20 74 68 65 20 73 61 6d | 65 20 64 69 73 74 72 69 | the sam|e distri|
|00000210| 62 75 74 69 6f 6e 20 74 | 65 72 6d 73 20 61 73 20 |bution t|erms as |
|00000220| 74 68 65 20 72 65 73 74 | 20 6f 66 20 74 68 61 74 |the rest| of that|
|00000230| 20 70 72 6f 67 72 61 6d | 2e 0a 0a 64 6e 6c 20 46 | program|...dnl F|
|00000240| 72 6f 6d 20 42 72 75 6e | 6f 20 48 61 69 62 6c 65 |rom Brun|o Haible|
|00000250| 2e 0a 0a 64 6e 6c 20 41 | 43 5f 4c 49 42 5f 50 52 |...dnl A|C_LIB_PR|
|00000260| 45 46 49 58 20 61 64 64 | 73 20 74 6f 20 74 68 65 |EFIX add|s to the|
|00000270| 20 43 50 50 46 4c 41 47 | 53 20 61 6e 64 20 4c 44 | CPPFLAG|S and LD|
|00000280| 46 4c 41 47 53 20 74 68 | 65 20 66 6c 61 67 73 20 |FLAGS th|e flags |
|00000290| 74 68 61 74 20 61 72 65 | 20 6e 65 65 64 65 64 0a |that are| needed.|
|000002a0| 64 6e 6c 20 74 6f 20 61 | 63 63 65 73 73 20 70 72 |dnl to a|ccess pr|
|000002b0| 65 76 69 6f 75 73 6c 79 | 20 69 6e 73 74 61 6c 6c |eviously| install|
|000002c0| 65 64 20 6c 69 62 72 61 | 72 69 65 73 2e 20 54 68 |ed libra|ries. Th|
|000002d0| 65 20 62 61 73 69 63 20 | 61 73 73 75 6d 70 74 69 |e basic |assumpti|
|000002e0| 6f 6e 20 69 73 20 74 68 | 61 74 0a 64 6e 6c 20 61 |on is th|at.dnl a|
|000002f0| 20 75 73 65 72 20 77 69 | 6c 6c 20 77 61 6e 74 20 | user wi|ll want |
|00000300| 70 61 63 6b 61 67 65 73 | 20 74 6f 20 75 73 65 20 |packages| to use |
|00000310| 6f 74 68 65 72 20 70 61 | 63 6b 61 67 65 73 20 68 |other pa|ckages h|
|00000320| 65 20 70 72 65 76 69 6f | 75 73 6c 79 20 69 6e 73 |e previo|usly ins|
|00000330| 74 61 6c 6c 65 64 0a 64 | 6e 6c 20 77 69 74 68 20 |talled.d|nl with |
|00000340| 74 68 65 20 73 61 6d 65 | 20 2d 2d 70 72 65 66 69 |the same| --prefi|
|00000350| 78 20 6f 70 74 69 6f 6e | 2e 0a 64 6e 6c 20 54 68 |x option|..dnl Th|
|00000360| 69 73 20 6d 61 63 72 6f | 20 69 73 20 6e 6f 74 20 |is macro| is not |
|00000370| 6e 65 65 64 65 64 20 69 | 66 20 6f 6e 6c 79 20 41 |needed i|f only A|
|00000380| 43 5f 4c 49 42 5f 4c 49 | 4e 4b 46 4c 41 47 53 20 |C_LIB_LI|NKFLAGS |
|00000390| 69 73 20 75 73 65 64 20 | 74 6f 20 6c 6f 63 61 74 |is used |to locat|
|000003a0| 65 0a 64 6e 6c 20 6c 69 | 62 72 61 72 69 65 73 2c |e.dnl li|braries,|
|000003b0| 20 62 75 74 20 69 73 20 | 6f 74 68 65 72 77 69 73 | but is |otherwis|
|000003c0| 65 20 76 65 72 79 20 63 | 6f 6e 76 65 6e 69 65 6e |e very c|onvenien|
|000003d0| 74 2e 0a 41 43 5f 44 45 | 46 55 4e 28 5b 41 43 5f |t..AC_DE|FUN([AC_|
|000003e0| 4c 49 42 5f 50 52 45 46 | 49 58 5d 2c 0a 5b 0a 20 |LIB_PREF|IX],.[. |
|000003f0| 20 41 43 5f 42 45 46 4f | 52 45 28 5b 24 30 5d 2c | AC_BEFO|RE([$0],|
|00000400| 20 5b 41 43 5f 4c 49 42 | 5f 4c 49 4e 4b 46 4c 41 | [AC_LIB|_LINKFLA|
|00000410| 47 53 5d 29 0a 20 20 41 | 43 5f 52 45 51 55 49 52 |GS]). A|C_REQUIR|
|00000420| 45 28 5b 41 43 5f 50 52 | 4f 47 5f 43 43 5d 29 0a |E([AC_PR|OG_CC]).|
|00000430| 20 20 41 43 5f 52 45 51 | 55 49 52 45 28 5b 41 43 | AC_REQ|UIRE([AC|
|00000440| 5f 43 41 4e 4f 4e 49 43 | 41 4c 5f 48 4f 53 54 5d |_CANONIC|AL_HOST]|
|00000450| 29 0a 20 20 41 43 5f 52 | 45 51 55 49 52 45 28 5b |). AC_R|EQUIRE([|
|00000460| 41 43 5f 4c 49 42 5f 50 | 52 45 50 41 52 45 5f 50 |AC_LIB_P|REPARE_P|
|00000470| 52 45 46 49 58 5d 29 0a | 20 20 64 6e 6c 20 42 79 |REFIX]).| dnl By|
|00000480| 20 64 65 66 61 75 6c 74 | 2c 20 6c 6f 6f 6b 20 69 | default|, look i|
|00000490| 6e 20 24 69 6e 63 6c 75 | 64 65 64 69 72 20 61 6e |n $inclu|dedir an|
|000004a0| 64 20 24 6c 69 62 64 69 | 72 2e 0a 20 20 75 73 65 |d $libdi|r.. use|
|000004b0| 5f 61 64 64 69 74 69 6f | 6e 61 6c 3d 79 65 73 0a |_additio|nal=yes.|
|000004c0| 20 20 41 43 5f 4c 49 42 | 5f 57 49 54 48 5f 46 49 | AC_LIB|_WITH_FI|
|000004d0| 4e 41 4c 5f 50 52 45 46 | 49 58 28 5b 0a 20 20 20 |NAL_PREF|IX([. |
|000004e0| 20 65 76 61 6c 20 61 64 | 64 69 74 69 6f 6e 61 6c | eval ad|ditional|
|000004f0| 5f 69 6e 63 6c 75 64 65 | 64 69 72 3d 5c 22 24 69 |_include|dir=\"$i|
|00000500| 6e 63 6c 75 64 65 64 69 | 72 5c 22 0a 20 20 20 20 |ncludedi|r\". |
|00000510| 65 76 61 6c 20 61 64 64 | 69 74 69 6f 6e 61 6c 5f |eval add|itional_|
|00000520| 6c 69 62 64 69 72 3d 5c | 22 24 6c 69 62 64 69 72 |libdir=\|"$libdir|
|00000530| 5c 22 0a 20 20 5d 29 0a | 20 20 41 43 5f 41 52 47 |\". ]).| AC_ARG|
|00000540| 5f 57 49 54 48 28 5b 6c | 69 62 2d 70 72 65 66 69 |_WITH([l|ib-prefi|
|00000550| 78 5d 2c 0a 5b 20 20 2d | 2d 77 69 74 68 2d 6c 69 |x],.[ -|-with-li|
|00000560| 62 2d 70 72 65 66 69 78 | 5b 3d 44 49 52 5d 20 73 |b-prefix|[=DIR] s|
|00000570| 65 61 72 63 68 20 66 6f | 72 20 6c 69 62 72 61 72 |earch fo|r librar|
|00000580| 69 65 73 20 69 6e 20 44 | 49 52 2f 69 6e 63 6c 75 |ies in D|IR/inclu|
|00000590| 64 65 20 61 6e 64 20 44 | 49 52 2f 6c 69 62 0a 20 |de and D|IR/lib. |
|000005a0| 20 2d 2d 77 69 74 68 6f | 75 74 2d 6c 69 62 2d 70 | --witho|ut-lib-p|
|000005b0| 72 65 66 69 78 20 20 20 | 20 64 6f 6e 27 74 20 73 |refix | don't s|
|000005c0| 65 61 72 63 68 20 66 6f | 72 20 6c 69 62 72 61 72 |earch fo|r librar|
|000005d0| 69 65 73 20 69 6e 20 69 | 6e 63 6c 75 64 65 64 69 |ies in i|ncludedi|
|000005e0| 72 20 61 6e 64 20 6c 69 | 62 64 69 72 5d 2c 0a 5b |r and li|bdir],.[|
|000005f0| 0a 20 20 20 20 69 66 20 | 74 65 73 74 20 22 58 24 |. if |test "X$|
|00000600| 77 69 74 68 76 61 6c 22 | 20 3d 20 22 58 6e 6f 22 |withval"| = "Xno"|
|00000610| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 75 73 65 |; then. | use|
|00000620| 5f 61 64 64 69 74 69 6f | 6e 61 6c 3d 6e 6f 0a 20 |_additio|nal=no. |
|00000630| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 69 66 | else.| if|
|00000640| 20 74 65 73 74 20 22 58 | 24 77 69 74 68 76 61 6c | test "X|$withval|
|00000650| 22 20 3d 20 22 58 22 3b | 20 74 68 65 6e 0a 20 20 |" = "X";| then. |
|00000660| 20 20 20 20 20 20 41 43 | 5f 4c 49 42 5f 57 49 54 | AC|_LIB_WIT|
|00000670| 48 5f 46 49 4e 41 4c 5f | 50 52 45 46 49 58 28 5b |H_FINAL_|PREFIX([|
|00000680| 0a 20 20 20 20 20 20 20 | 20 20 20 65 76 61 6c 20 |. | eval |
|00000690| 61 64 64 69 74 69 6f 6e | 61 6c 5f 69 6e 63 6c 75 |addition|al_inclu|
|000006a0| 64 65 64 69 72 3d 5c 22 | 24 69 6e 63 6c 75 64 65 |dedir=\"|$include|
|000006b0| 64 69 72 5c 22 0a 20 20 | 20 20 20 20 20 20 20 20 |dir\". | |
|000006c0| 65 76 61 6c 20 61 64 64 | 69 74 69 6f 6e 61 6c 5f |eval add|itional_|
|000006d0| 6c 69 62 64 69 72 3d 5c | 22 24 6c 69 62 64 69 72 |libdir=\|"$libdir|
|000006e0| 5c 22 0a 20 20 20 20 20 | 20 20 20 5d 29 0a 20 20 |\". | ]). |
|000006f0| 20 20 20 20 65 6c 73 65 | 0a 20 20 20 20 20 20 20 | else|. |
|00000700| 20 61 64 64 69 74 69 6f | 6e 61 6c 5f 69 6e 63 6c | additio|nal_incl|
|00000710| 75 64 65 64 69 72 3d 22 | 24 77 69 74 68 76 61 6c |udedir="|$withval|
|00000720| 2f 69 6e 63 6c 75 64 65 | 22 0a 20 20 20 20 20 20 |/include|". |
|00000730| 20 20 61 64 64 69 74 69 | 6f 6e 61 6c 5f 6c 69 62 | additi|onal_lib|
|00000740| 64 69 72 3d 22 24 77 69 | 74 68 76 61 6c 2f 6c 69 |dir="$wi|thval/li|
|00000750| 62 22 0a 20 20 20 20 20 | 20 66 69 0a 20 20 20 20 |b". | fi. |
|00000760| 66 69 0a 5d 29 0a 20 20 | 69 66 20 74 65 73 74 20 |fi.]). |if test |
|00000770| 24 75 73 65 5f 61 64 64 | 69 74 69 6f 6e 61 6c 20 |$use_add|itional |
|00000780| 3d 20 79 65 73 3b 20 74 | 68 65 6e 0a 20 20 20 20 |= yes; t|hen. |
|00000790| 64 6e 6c 20 50 6f 74 65 | 6e 74 69 61 6c 6c 79 20 |dnl Pote|ntially |
|000007a0| 61 64 64 20 24 61 64 64 | 69 74 69 6f 6e 61 6c 5f |add $add|itional_|
|000007b0| 69 6e 63 6c 75 64 65 64 | 69 72 20 74 6f 20 24 43 |included|ir to $C|
|000007c0| 50 50 46 4c 41 47 53 2e | 0a 20 20 20 20 64 6e 6c |PPFLAGS.|. dnl|
|000007d0| 20 42 75 74 20 64 6f 6e | 27 74 20 61 64 64 20 69 | But don|'t add i|
|000007e0| 74 0a 20 20 20 20 64 6e | 6c 20 20 20 31 2e 20 69 |t. dn|l 1. i|
|000007f0| 66 20 69 74 27 73 20 74 | 68 65 20 73 74 61 6e 64 |f it's t|he stand|
|00000800| 61 72 64 20 2f 75 73 72 | 2f 69 6e 63 6c 75 64 65 |ard /usr|/include|
|00000810| 2c 0a 20 20 20 20 64 6e | 6c 20 20 20 32 2e 20 69 |,. dn|l 2. i|
|00000820| 66 20 69 74 27 73 20 61 | 6c 72 65 61 64 79 20 70 |f it's a|lready p|
|00000830| 72 65 73 65 6e 74 20 69 | 6e 20 24 43 50 50 46 4c |resent i|n $CPPFL|
|00000840| 41 47 53 2c 0a 20 20 20 | 20 64 6e 6c 20 20 20 33 |AGS,. | dnl 3|
|00000850| 2e 20 69 66 20 69 74 27 | 73 20 2f 75 73 72 2f 6c |. if it'|s /usr/l|
|00000860| 6f 63 61 6c 2f 69 6e 63 | 6c 75 64 65 20 61 6e 64 |ocal/inc|lude and|
|00000870| 20 77 65 20 61 72 65 20 | 75 73 69 6e 67 20 47 43 | we are |using GC|
|00000880| 43 20 6f 6e 20 4c 69 6e | 75 78 2c 0a 20 20 20 20 |C on Lin|ux,. |
|00000890| 64 6e 6c 20 20 20 34 2e | 20 69 66 20 69 74 20 64 |dnl 4.| if it d|
|000008a0| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 20 61 73 20 |oesn't e|xist as |
|000008b0| 61 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 20 20 20 |a direct|ory.. |
|000008c0| 20 69 66 20 74 65 73 74 | 20 22 58 24 61 64 64 69 | if test| "X$addi|
|000008d0| 74 69 6f 6e 61 6c 5f 69 | 6e 63 6c 75 64 65 64 69 |tional_i|ncludedi|
|000008e0| 72 22 20 21 3d 20 22 58 | 2f 75 73 72 2f 69 6e 63 |r" != "X|/usr/inc|
|000008f0| 6c 75 64 65 22 3b 20 74 | 68 65 6e 0a 20 20 20 20 |lude"; t|hen. |
|00000900| 20 20 68 61 76 65 69 74 | 3d 0a 20 20 20 20 20 20 | haveit|=. |
|00000910| 66 6f 72 20 78 20 69 6e | 20 24 43 50 50 46 4c 41 |for x in| $CPPFLA|
|00000920| 47 53 3b 20 64 6f 0a 20 | 20 20 20 20 20 20 20 41 |GS; do. | A|
|00000930| 43 5f 4c 49 42 5f 57 49 | 54 48 5f 46 49 4e 41 4c |C_LIB_WI|TH_FINAL|
|00000940| 5f 50 52 45 46 49 58 28 | 5b 65 76 61 6c 20 78 3d |_PREFIX(|[eval x=|
|00000950| 5c 22 24 78 5c 22 5d 29 | 0a 20 20 20 20 20 20 20 |\"$x\"])|. |
|00000960| 20 69 66 20 74 65 73 74 | 20 22 58 24 78 22 20 3d | if test| "X$x" =|
|00000970| 20 22 58 2d 49 24 61 64 | 64 69 74 69 6f 6e 61 6c | "X-I$ad|ditional|
|00000980| 5f 69 6e 63 6c 75 64 65 | 64 69 72 22 3b 20 74 68 |_include|dir"; th|
|00000990| 65 6e 0a 20 20 20 20 20 | 20 20 20 20 20 68 61 76 |en. | hav|
|000009a0| 65 69 74 3d 79 65 73 0a | 20 20 20 20 20 20 20 20 |eit=yes.| |
|000009b0| 20 20 62 72 65 61 6b 0a | 20 20 20 20 20 20 20 20 | break.| |
|000009c0| 66 69 0a 20 20 20 20 20 | 20 64 6f 6e 65 0a 20 20 |fi. | done. |
|000009d0| 20 20 20 20 69 66 20 74 | 65 73 74 20 2d 7a 20 22 | if t|est -z "|
|000009e0| 24 68 61 76 65 69 74 22 | 3b 20 74 68 65 6e 0a 20 |$haveit"|; then. |
|000009f0| 20 20 20 20 20 20 20 69 | 66 20 74 65 73 74 20 22 | i|f test "|
|00000a00| 58 24 61 64 64 69 74 69 | 6f 6e 61 6c 5f 69 6e 63 |X$additi|onal_inc|
|00000a10| 6c 75 64 65 64 69 72 22 | 20 3d 20 22 58 2f 75 73 |ludedir"| = "X/us|
|00000a20| 72 2f 6c 6f 63 61 6c 2f | 69 6e 63 6c 75 64 65 22 |r/local/|include"|
|00000a30| 3b 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |; then. | |
|00000a40| 20 69 66 20 74 65 73 74 | 20 2d 6e 20 22 24 47 43 | if test| -n "$GC|
|00000a50| 43 22 3b 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 |C"; then|. |
|00000a60| 20 20 20 20 20 63 61 73 | 65 20 24 68 6f 73 74 5f | cas|e $host_|
|00000a70| 6f 73 20 69 6e 0a 20 20 | 20 20 20 20 20 20 20 20 |os in. | |
|00000a80| 20 20 20 20 6c 69 6e 75 | 78 2a 29 20 68 61 76 65 | linu|x*) have|
|00000a90| 69 74 3d 79 65 73 3b 3b | 0a 20 20 20 20 20 20 20 |it=yes;;|. |
|00000aa0| 20 20 20 20 20 65 73 61 | 63 0a 20 20 20 20 20 20 | esa|c. |
|00000ab0| 20 20 20 20 66 69 0a 20 | 20 20 20 20 20 20 20 66 | fi. | f|
|00000ac0| 69 0a 20 20 20 20 20 20 | 20 20 69 66 20 74 65 73 |i. | if tes|
|00000ad0| 74 20 2d 7a 20 22 24 68 | 61 76 65 69 74 22 3b 20 |t -z "$h|aveit"; |
|00000ae0| 74 68 65 6e 0a 20 20 20 | 20 20 20 20 20 20 20 69 |then. | i|
|00000af0| 66 20 74 65 73 74 20 2d | 64 20 22 24 61 64 64 69 |f test -|d "$addi|
|00000b00| 74 69 6f 6e 61 6c 5f 69 | 6e 63 6c 75 64 65 64 69 |tional_i|ncludedi|
|00000b10| 72 22 3b 20 74 68 65 6e | 0a 20 20 20 20 20 20 20 |r"; then|. |
|00000b20| 20 20 20 20 20 64 6e 6c | 20 52 65 61 6c 6c 79 20 | dnl| Really |
|00000b30| 61 64 64 20 24 61 64 64 | 69 74 69 6f 6e 61 6c 5f |add $add|itional_|
|00000b40| 69 6e 63 6c 75 64 65 64 | 69 72 20 74 6f 20 24 43 |included|ir to $C|
|00000b50| 50 50 46 4c 41 47 53 2e | 0a 20 20 20 20 20 20 20 |PPFLAGS.|. |
|00000b60| 20 20 20 20 20 43 50 50 | 46 4c 41 47 53 3d 22 24 | CPP|FLAGS="$|
|00000b70| 7b 43 50 50 46 4c 41 47 | 53 7d 24 7b 43 50 50 46 |{CPPFLAG|S}${CPPF|
|00000b80| 4c 41 47 53 3a 2b 20 7d | 2d 49 24 61 64 64 69 74 |LAGS:+ }|-I$addit|
|00000b90| 69 6f 6e 61 6c 5f 69 6e | 63 6c 75 64 65 64 69 72 |ional_in|cludedir|
|00000ba0| 22 0a 20 20 20 20 20 20 | 20 20 20 20 66 69 0a 20 |". | fi. |
|00000bb0| 20 20 20 20 20 20 20 66 | 69 0a 20 20 20 20 20 20 | f|i. |
|00000bc0| 66 69 0a 20 20 20 20 66 | 69 0a 20 20 20 20 64 6e |fi. f|i. dn|
|00000bd0| 6c 20 50 6f 74 65 6e 74 | 69 61 6c 6c 79 20 61 64 |l Potent|ially ad|
|00000be0| 64 20 24 61 64 64 69 74 | 69 6f 6e 61 6c 5f 6c 69 |d $addit|ional_li|
|00000bf0| 62 64 69 72 20 74 6f 20 | 24 4c 44 46 4c 41 47 53 |bdir to |$LDFLAGS|
|00000c00| 2e 0a 20 20 20 20 64 6e | 6c 20 42 75 74 20 64 6f |.. dn|l But do|
|00000c10| 6e 27 74 20 61 64 64 20 | 69 74 0a 20 20 20 20 64 |n't add |it. d|
|00000c20| 6e 6c 20 20 20 31 2e 20 | 69 66 20 69 74 27 73 20 |nl 1. |if it's |
|00000c30| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 2f 75 73 |the stan|dard /us|
|00000c40| 72 2f 6c 69 62 2c 0a 20 | 20 20 20 64 6e 6c 20 20 |r/lib,. | dnl |
|00000c50| 20 32 2e 20 69 66 20 69 | 74 27 73 20 61 6c 72 65 | 2. if i|t's alre|
|00000c60| 61 64 79 20 70 72 65 73 | 65 6e 74 20 69 6e 20 24 |ady pres|ent in $|
|00000c70| 4c 44 46 4c 41 47 53 2c | 0a 20 20 20 20 64 6e 6c |LDFLAGS,|. dnl|
|00000c80| 20 20 20 33 2e 20 69 66 | 20 69 74 27 73 20 2f 75 | 3. if| it's /u|
|00000c90| 73 72 2f 6c 6f 63 61 6c | 2f 6c 69 62 20 61 6e 64 |sr/local|/lib and|
|00000ca0| 20 77 65 20 61 72 65 20 | 75 73 69 6e 67 20 47 43 | we are |using GC|
|00000cb0| 43 20 6f 6e 20 4c 69 6e | 75 78 2c 0a 20 20 20 20 |C on Lin|ux,. |
|00000cc0| 64 6e 6c 20 20 20 34 2e | 20 69 66 20 69 74 20 64 |dnl 4.| if it d|
|00000cd0| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 20 61 73 20 |oesn't e|xist as |
|00000ce0| 61 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 20 20 20 |a direct|ory.. |
|00000cf0| 20 69 66 20 74 65 73 74 | 20 22 58 24 61 64 64 69 | if test| "X$addi|
|00000d00| 74 69 6f 6e 61 6c 5f 6c | 69 62 64 69 72 22 20 21 |tional_l|ibdir" !|
|00000d10| 3d 20 22 58 2f 75 73 72 | 2f 6c 69 62 22 3b 20 74 |= "X/usr|/lib"; t|
|00000d20| 68 65 6e 0a 20 20 20 20 | 20 20 68 61 76 65 69 74 |hen. | haveit|
|00000d30| 3d 0a 20 20 20 20 20 20 | 66 6f 72 20 78 20 69 6e |=. |for x in|
|00000d40| 20 24 4c 44 46 4c 41 47 | 53 3b 20 64 6f 0a 20 20 | $LDFLAG|S; do. |
|00000d50| 20 20 20 20 20 20 41 43 | 5f 4c 49 42 5f 57 49 54 | AC|_LIB_WIT|
|00000d60| 48 5f 46 49 4e 41 4c 5f | 50 52 45 46 49 58 28 5b |H_FINAL_|PREFIX([|
|00000d70| 65 76 61 6c 20 78 3d 5c | 22 24 78 5c 22 5d 29 0a |eval x=\|"$x\"]).|
|00000d80| 20 20 20 20 20 20 20 20 | 69 66 20 74 65 73 74 20 | |if test |
|00000d90| 22 58 24 78 22 20 3d 20 | 22 58 2d 4c 24 61 64 64 |"X$x" = |"X-L$add|
|00000da0| 69 74 69 6f 6e 61 6c 5f | 6c 69 62 64 69 72 22 3b |itional_|libdir";|
|00000db0| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 20 20 | then. | |
|00000dc0| 68 61 76 65 69 74 3d 79 | 65 73 0a 20 20 20 20 20 |haveit=y|es. |
|00000dd0| 20 20 20 20 20 62 72 65 | 61 6b 0a 20 20 20 20 20 | bre|ak. |
|00000de0| 20 20 20 66 69 0a 20 20 | 20 20 20 20 64 6f 6e 65 | fi. | done|
|00000df0| 0a 20 20 20 20 20 20 69 | 66 20 74 65 73 74 20 2d |. i|f test -|
|00000e00| 7a 20 22 24 68 61 76 65 | 69 74 22 3b 20 74 68 65 |z "$have|it"; the|
|00000e10| 6e 0a 20 20 20 20 20 20 | 20 20 69 66 20 74 65 73 |n. | if tes|
|00000e20| 74 20 22 58 24 61 64 64 | 69 74 69 6f 6e 61 6c 5f |t "X$add|itional_|
|00000e30| 6c 69 62 64 69 72 22 20 | 3d 20 22 58 2f 75 73 72 |libdir" |= "X/usr|
|00000e40| 2f 6c 6f 63 61 6c 2f 6c | 69 62 22 3b 20 74 68 65 |/local/l|ib"; the|
|00000e50| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 69 66 20 74 |n. | if t|
|00000e60| 65 73 74 20 2d 6e 20 22 | 24 47 43 43 22 3b 20 74 |est -n "|$GCC"; t|
|00000e70| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |hen. | |
|00000e80| 63 61 73 65 20 24 68 6f | 73 74 5f 6f 73 20 69 6e |case $ho|st_os in|
|00000e90| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c |. | l|
|00000ea0| 69 6e 75 78 2a 29 20 68 | 61 76 65 69 74 3d 79 65 |inux*) h|aveit=ye|
|00000eb0| 73 3b 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |s;;. | |
|00000ec0| 65 73 61 63 0a 20 20 20 | 20 20 20 20 20 20 20 66 |esac. | f|
|00000ed0| 69 0a 20 20 20 20 20 20 | 20 20 66 69 0a 20 20 20 |i. | fi. |
|00000ee0| 20 20 20 20 20 69 66 20 | 74 65 73 74 20 2d 7a 20 | if |test -z |
|00000ef0| 22 24 68 61 76 65 69 74 | 22 3b 20 74 68 65 6e 0a |"$haveit|"; then.|
|00000f00| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 74 65 73 | | if tes|
|00000f10| 74 20 2d 64 20 22 24 61 | 64 64 69 74 69 6f 6e 61 |t -d "$a|dditiona|
|00000f20| 6c 5f 6c 69 62 64 69 72 | 22 3b 20 74 68 65 6e 0a |l_libdir|"; then.|
|00000f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 64 6e 6c 20 | | dnl |
|00000f40| 52 65 61 6c 6c 79 20 61 | 64 64 20 24 61 64 64 69 |Really a|dd $addi|
|00000f50| 74 69 6f 6e 61 6c 5f 6c | 69 62 64 69 72 20 74 6f |tional_l|ibdir to|
|00000f60| 20 24 4c 44 46 4c 41 47 | 53 2e 0a 20 20 20 20 20 | $LDFLAG|S.. |
|00000f70| 20 20 20 20 20 20 20 4c | 44 46 4c 41 47 53 3d 22 | L|DFLAGS="|
|00000f80| 24 7b 4c 44 46 4c 41 47 | 53 7d 24 7b 4c 44 46 4c |${LDFLAG|S}${LDFL|
|00000f90| 41 47 53 3a 2b 20 7d 2d | 4c 24 61 64 64 69 74 69 |AGS:+ }-|L$additi|
|00000fa0| 6f 6e 61 6c 5f 6c 69 62 | 64 69 72 22 0a 20 20 20 |onal_lib|dir". |
|00000fb0| 20 20 20 20 20 20 20 66 | 69 0a 20 20 20 20 20 20 | f|i. |
|00000fc0| 20 20 66 69 0a 20 20 20 | 20 20 20 66 69 0a 20 20 | fi. | fi. |
|00000fd0| 20 20 66 69 0a 20 20 66 | 69 0a 5d 29 0a 0a 64 6e | fi. f|i.])..dn|
|00000fe0| 6c 20 41 43 5f 4c 49 42 | 5f 50 52 45 50 41 52 45 |l AC_LIB|_PREPARE|
|00000ff0| 5f 50 52 45 46 49 58 20 | 63 72 65 61 74 65 73 20 |_PREFIX |creates |
|00001000| 76 61 72 69 61 62 6c 65 | 73 20 61 63 6c 5f 66 69 |variable|s acl_fi|
|00001010| 6e 61 6c 5f 70 72 65 66 | 69 78 2c 0a 64 6e 6c 20 |nal_pref|ix,.dnl |
|00001020| 61 63 6c 5f 66 69 6e 61 | 6c 5f 65 78 65 63 5f 70 |acl_fina|l_exec_p|
|00001030| 72 65 66 69 78 2c 20 63 | 6f 6e 74 61 69 6e 69 6e |refix, c|ontainin|
|00001040| 67 20 74 68 65 20 76 61 | 6c 75 65 73 20 74 6f 20 |g the va|lues to |
|00001050| 77 68 69 63 68 20 24 70 | 72 65 66 69 78 20 61 6e |which $p|refix an|
|00001060| 64 0a 64 6e 6c 20 24 65 | 78 65 63 5f 70 72 65 66 |d.dnl $e|xec_pref|
|00001070| 69 78 20 77 69 6c 6c 20 | 65 78 70 61 6e 64 20 61 |ix will |expand a|
|00001080| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |t the en|d of the|
|00001090| 20 63 6f 6e 66 69 67 75 | 72 65 20 73 63 72 69 70 | configu|re scrip|
|000010a0| 74 2e 0a 41 43 5f 44 45 | 46 55 4e 28 5b 41 43 5f |t..AC_DE|FUN([AC_|
|000010b0| 4c 49 42 5f 50 52 45 50 | 41 52 45 5f 50 52 45 46 |LIB_PREP|ARE_PREF|
|000010c0| 49 58 5d 2c 0a 5b 0a 20 | 20 64 6e 6c 20 55 6e 66 |IX],.[. | dnl Unf|
|000010d0| 6f 72 74 75 6e 61 74 65 | 6c 79 2c 20 70 72 65 66 |ortunate|ly, pref|
|000010e0| 69 78 20 61 6e 64 20 65 | 78 65 63 5f 70 72 65 66 |ix and e|xec_pref|
|000010f0| 69 78 20 67 65 74 20 6f | 6e 6c 79 20 66 69 6e 61 |ix get o|nly fina|
|00001100| 6c 6c 79 20 64 65 74 65 | 72 6d 69 6e 65 64 0a 20 |lly dete|rmined. |
|00001110| 20 64 6e 6c 20 61 74 20 | 74 68 65 20 65 6e 64 20 | dnl at |the end |
|00001120| 6f 66 20 63 6f 6e 66 69 | 67 75 72 65 2e 0a 20 20 |of confi|gure.. |
|00001130| 69 66 20 74 65 73 74 20 | 22 58 24 70 72 65 66 69 |if test |"X$prefi|
|00001140| 78 22 20 3d 20 22 58 4e | 4f 4e 45 22 3b 20 74 68 |x" = "XN|ONE"; th|
|00001150| 65 6e 0a 20 20 20 20 61 | 63 6c 5f 66 69 6e 61 6c |en. a|cl_final|
|00001160| 5f 70 72 65 66 69 78 3d | 22 24 61 63 5f 64 65 66 |_prefix=|"$ac_def|
|00001170| 61 75 6c 74 5f 70 72 65 | 66 69 78 22 0a 20 20 65 |ault_pre|fix". e|
|00001180| 6c 73 65 0a 20 20 20 20 | 61 63 6c 5f 66 69 6e 61 |lse. |acl_fina|
|00001190| 6c 5f 70 72 65 66 69 78 | 3d 22 24 70 72 65 66 69 |l_prefix|="$prefi|
|000011a0| 78 22 0a 20 20 66 69 0a | 20 20 69 66 20 74 65 73 |x". fi.| if tes|
|000011b0| 74 20 22 58 24 65 78 65 | 63 5f 70 72 65 66 69 78 |t "X$exe|c_prefix|
|000011c0| 22 20 3d 20 22 58 4e 4f | 4e 45 22 3b 20 74 68 65 |" = "XNO|NE"; the|
|000011d0| 6e 0a 20 20 20 20 61 63 | 6c 5f 66 69 6e 61 6c 5f |n. ac|l_final_|
|000011e0| 65 78 65 63 5f 70 72 65 | 66 69 78 3d 27 24 7b 70 |exec_pre|fix='${p|
|000011f0| 72 65 66 69 78 7d 27 0a | 20 20 65 6c 73 65 0a 20 |refix}'.| else. |
|00001200| 20 20 20 61 63 6c 5f 66 | 69 6e 61 6c 5f 65 78 65 | acl_f|inal_exe|
|00001210| 63 5f 70 72 65 66 69 78 | 3d 22 24 65 78 65 63 5f |c_prefix|="$exec_|
|00001220| 70 72 65 66 69 78 22 0a | 20 20 66 69 0a 20 20 61 |prefix".| fi. a|
|00001230| 63 6c 5f 73 61 76 65 5f | 70 72 65 66 69 78 3d 22 |cl_save_|prefix="|
|00001240| 24 70 72 65 66 69 78 22 | 0a 20 20 70 72 65 66 69 |$prefix"|. prefi|
|00001250| 78 3d 22 24 61 63 6c 5f | 66 69 6e 61 6c 5f 70 72 |x="$acl_|final_pr|
|00001260| 65 66 69 78 22 0a 20 20 | 65 76 61 6c 20 61 63 6c |efix". |eval acl|
|00001270| 5f 66 69 6e 61 6c 5f 65 | 78 65 63 5f 70 72 65 66 |_final_e|xec_pref|
|00001280| 69 78 3d 5c 22 24 61 63 | 6c 5f 66 69 6e 61 6c 5f |ix=\"$ac|l_final_|
|00001290| 65 78 65 63 5f 70 72 65 | 66 69 78 5c 22 0a 20 20 |exec_pre|fix\". |
|000012a0| 70 72 65 66 69 78 3d 22 | 24 61 63 6c 5f 73 61 76 |prefix="|$acl_sav|
|000012b0| 65 5f 70 72 65 66 69 78 | 22 0a 5d 29 0a 0a 64 6e |e_prefix|".])..dn|
|000012c0| 6c 20 41 43 5f 4c 49 42 | 5f 57 49 54 48 5f 46 49 |l AC_LIB|_WITH_FI|
|000012d0| 4e 41 4c 5f 50 52 45 46 | 49 58 28 5b 73 74 61 74 |NAL_PREF|IX([stat|
|000012e0| 65 6d 65 6e 74 5d 29 20 | 65 76 61 6c 75 61 74 65 |ement]) |evaluate|
|000012f0| 73 20 73 74 61 74 65 6d | 65 6e 74 2c 20 77 69 74 |s statem|ent, wit|
|00001300| 68 20 74 68 65 0a 64 6e | 6c 20 76 61 72 69 61 62 |h the.dn|l variab|
|00001310| 6c 65 73 20 70 72 65 66 | 69 78 20 61 6e 64 20 65 |les pref|ix and e|
|00001320| 78 65 63 5f 70 72 65 66 | 69 78 20 62 6f 75 6e 64 |xec_pref|ix bound|
|00001330| 20 74 6f 20 74 68 65 20 | 76 61 6c 75 65 73 20 74 | to the |values t|
|00001340| 68 65 79 20 77 69 6c 6c | 20 68 61 76 65 0a 64 6e |hey will| have.dn|
|00001350| 6c 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |l at the| end of |
|00001360| 74 68 65 20 63 6f 6e 66 | 69 67 75 72 65 20 73 63 |the conf|igure sc|
|00001370| 72 69 70 74 2e 0a 41 43 | 5f 44 45 46 55 4e 28 5b |ript..AC|_DEFUN([|
|00001380| 41 43 5f 4c 49 42 5f 57 | 49 54 48 5f 46 49 4e 41 |AC_LIB_W|ITH_FINA|
|00001390| 4c 5f 50 52 45 46 49 58 | 5d 2c 0a 5b 0a 20 20 61 |L_PREFIX|],.[. a|
|000013a0| 63 6c 5f 73 61 76 65 5f | 70 72 65 66 69 78 3d 22 |cl_save_|prefix="|
|000013b0| 24 70 72 65 66 69 78 22 | 0a 20 20 70 72 65 66 69 |$prefix"|. prefi|
|000013c0| 78 3d 22 24 61 63 6c 5f | 66 69 6e 61 6c 5f 70 72 |x="$acl_|final_pr|
|000013d0| 65 66 69 78 22 0a 20 20 | 61 63 6c 5f 73 61 76 65 |efix". |acl_save|
|000013e0| 5f 65 78 65 63 5f 70 72 | 65 66 69 78 3d 22 24 65 |_exec_pr|efix="$e|
|000013f0| 78 65 63 5f 70 72 65 66 | 69 78 22 0a 20 20 65 78 |xec_pref|ix". ex|
|00001400| 65 63 5f 70 72 65 66 69 | 78 3d 22 24 61 63 6c 5f |ec_prefi|x="$acl_|
|00001410| 66 69 6e 61 6c 5f 65 78 | 65 63 5f 70 72 65 66 69 |final_ex|ec_prefi|
|00001420| 78 22 0a 20 20 24 31 0a | 20 20 65 78 65 63 5f 70 |x". $1.| exec_p|
|00001430| 72 65 66 69 78 3d 22 24 | 61 63 6c 5f 73 61 76 65 |refix="$|acl_save|
|00001440| 5f 65 78 65 63 5f 70 72 | 65 66 69 78 22 0a 20 20 |_exec_pr|efix". |
|00001450| 70 72 65 66 69 78 3d 22 | 24 61 63 6c 5f 73 61 76 |prefix="|$acl_sav|
|00001460| 65 5f 70 72 65 66 69 78 | 22 0a 5d 29 0a 00 00 00 |e_prefix|".])....|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001490| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|000014a0| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|000014b0| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+